import request from '@/utils/request'

export default {
    getAllScheduling() {
        return request({
            url: "/scheduling/all",
            method: "get",
        })
    },
    addScheduling(info) {
        return request({
            url: "/scheduling/addsch",
            method: "post",
            data: info
        })
    },
    deleteSchedulingrById(id) {
        return request({
            url: `/scheduling/deletesch/${id}`,
            method: "delete",
        })
    },
    getSchedulingrById(id) {
        return request({
            url: `/scheduling/getsch/${id}`,
            method: "get",
        })
    },

}